home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac: Not for Sale
/
Another.not.for.sale (Australia).iso
/
hold me in your arms
/
PGP 2.6
/
pgp2.6 Source
/
doc
/
HowTo.doc
< prev
next >
Wrap
Text File
|
1994-05-20
|
3KB
|
80 lines
PGP How-To
or
How to build PGP 2.6 in two easy steps
Derek Atkins
<warlord@MIT.EDU>
22-May-94
This document describes how to build PGP 2.6 from the sources
provided. If you are reading this document, then I assume that you
have already retrived the sources and unpacked them.
The first thing you will notice is that there is more than one
directory tree in the PGP 2.6 source distribution. In particular,
there is the rsaref2 tree, and then there is the pgp26 tree. The
rsaref2 directory contains the sources for RSAREF, the reference RSA
implementation from RSADSI, Inc. The pgp26 directory contains the PGP
sources.
Before you go any further, please read the PGP documentation.
I cannot stress how important it is for you to read this. It explains
not only how to use the software, but also its limitations, drawbacks,
and other issues of which you should be aware. The documentation is a
good source of information and you should use it.
Now, on the build instructions:
VMS:
If you are building this on a VMS system, then you should
change directories into the vmssource subdirectory of pgp26. In
there, there is a program called "allbuild.com" which should build all
of PGP for you. Just execute that, and it should work.
UNIX:
If you are building on a UNIX platform, you need to build the
RSAREF code first, and then the PGP sources. First, you should cd
into rsaref2/install/unix and type "make". It is possible that this
will fail, giving you a lot of errors, such as syntax errors or
parameters declared as non-functions. If you get these errors, then
that means that your compiler does not understand prototypes. There
are two things you can do to correct this. The first is to use gcc,
the GNU CC compiler:
make CC=gcc
If this is not reasonable, then you can edit the Makefile and
change the line that contains:
-DPROTOTYPES=1 and change it to read:
-DPROTOTYPES=0
Once you've done this, you should have a file rsaref.a. The
next step is to compile the pgp sources. For this, you should go back
to the top of the tree and cd into pgp26/src. From here, you should
find the make rule for your platform (if you just type "make", it will
list out the known platforms). Once you find your platform, just use
that makerule. For example, if you are on linux, then you should:
make linux
If you cannot find a make rule for your platform, you may have
to create one yourself. If you successfully create a rule for a new
platform, please send the patches to pgp-bugs@mit.edu, so it can be
added to the next release.
Note: PGP 2.6 requires the function memmove. Not all machines have
this in the standard C library. There is an implementation of memmove
included with this distribution. If you find that your platform
requires memmove, but the makefile rule for your platform does not
include memmove (look at the sun4gcc or sun386i rules for an example
of how to include it), please send mail to pgp-bugs@mit.edu, so we can
correct the problem.
If you have any problems, bugs, patches, etc., please send
mail to pgp-bugs@mit.edu!
Thank you,
Derek Atkins
<warlord@MIT.EDU>